/**   
 * Copyright © 2021 郑心怡. All rights reserved.
 * 
 * @Title:RoleMapper.java 
 * @Prject: com.interesting.examsystem.role.mapper
 * @Package: com.interesting.examsystem.role.mapper
 * @author: ZhengXinyi   
 * @date: 2021-07-25
 * @version: V1.0   
 */
package com.interesting.examsystem.role.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.interesting.examsystem.role.model.RoleDTO;
import com.interesting.examsystem.role.model.RoleVO;
import com.interesting.examsystem.role.model.RoleDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @ClassName: RoleMapper
 * @Description:  Mapper 接口
 * @author: ZhengXinyi
 * @date: 2021-07-25
 */
public interface RoleMapper extends BaseMapper<RoleDO> {
	/**
	 * @Title: selectPageVo
	 * @param page
	 * @param roleDto
	 * @return_type: Page<RoleVO>
	 * @Description: 分页查询 
	 */
	Page<RoleVO> selectPageVo(Page<RoleDTO> page, @Param("param") RoleDTO roleDto);
	
	/**
	 * @Title: insertBatch 
	 * @Description: 批量插入
	 * @param roleVos
	 */
	void insertBatch(List<RoleVO> roleVos);
}
